[INFO] cloning repository https://github.com/kstrempel/rusty_ants
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kstrempel/rusty_ants" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstrempel%2Frusty_ants", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstrempel%2Frusty_ants'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ab75e20128379935e3aa7e1c62c594bbef55089e
[INFO] building kstrempel/rusty_ants against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstrempel%2Frusty_ants" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kstrempel/rusty_ants on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kstrempel/rusty_ants
[INFO] finished tweaking git repo https://github.com/kstrempel/rusty_ants
[INFO] tweaked toml for git repo https://github.com/kstrempel/rusty_ants written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/kstrempel/rusty_ants already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0088f75cc904ec2013f15a427398b7128615a5458cc732c680de3ed86780c14d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0088f75cc904ec2013f15a427398b7128615a5458cc732c680de3ed86780c14d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0088f75cc904ec2013f15a427398b7128615a5458cc732c680de3ed86780c14d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0088f75cc904ec2013f15a427398b7128615a5458cc732c680de3ed86780c14d", kill_on_drop: false }`
[INFO] [stdout] 0088f75cc904ec2013f15a427398b7128615a5458cc732c680de3ed86780c14d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] de8116220cd65908adc119b505118d3668e848c8dcf3063fefbe35d652c5710c
[INFO] running `Command { std: "docker" "start" "-a" "de8116220cd65908adc119b505118d3668e848c8dcf3063fefbe35d652c5710c", kill_on_drop: false }`
[INFO] [stderr]    Compiling rusty_ants v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/main.rs:14:23
[INFO] [stdout]    |
[INFO] [stdout] 14 |   let counter = range(0u, count);
[INFO] [stdout]    |                       ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/main.rs:20:26
[INFO] [stdout]    |
[INFO] [stdout] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stdout]    |                          ^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/main.rs:20:54
[INFO] [stdout]    |
[INFO] [stdout] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stdout]    |                                                      ^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `rand` in `std`
[INFO] [stdout]  --> src/main.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::rand::distributions::{IndependentSample, Range};
[INFO] [stdout]   |          ^^^^ could not find `rand` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::rand`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::rand;
[INFO] [stdout]   |     ^^^^^^^^^ no `rand` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]  --> src/main.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 |   x: uint,
[INFO] [stdout]   |      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]  --> src/main.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 |   y: uint
[INFO] [stdout]   |      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:10:27
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn generate_world(height: uint, width: uint, count: uint) -> Vec<Point> {
[INFO] [stdout]    |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:10:40
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn generate_world(height: uint, width: uint, count: uint) -> Vec<Point> {
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:10:53
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn generate_world(height: uint, width: uint, count: uint) -> Vec<Point> {
[INFO] [stdout]    |                                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Range`
[INFO] [stdout]   --> src/main.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 |   let range_x = Range::new(0, height);
[INFO] [stdout]    |                 ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::collections::btree_map::Range;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::collections::btree_set::Range;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::ops::Range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Range`
[INFO] [stdout]   --> src/main.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 |   let range_y = Range::new(0, width);
[INFO] [stdout]    |                 ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::collections::btree_map::Range;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::collections::btree_set::Range;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::ops::Range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/main.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 |   let counter = range(0u, count);
[INFO] [stdout]    |                 ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pow` in module `num`
[INFO] [stdout]   --> src/main.rs:20:22
[INFO] [stdout]    |
[INFO] [stdout] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stdout]    |                      ^^^ not found in `num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `pow` in module `num`
[INFO] [stdout]   --> src/main.rs:20:50
[INFO] [stdout]    |
[INFO] [stdout] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stdout]    |                                                  ^^^ not found in `num`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:20:16
[INFO] [stdout]    |
[INFO] [stdout] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/main.rs:20:30
[INFO] [stdout]    |
[INFO] [stdout] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stdout]    |                              ^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/main.rs:20:58
[INFO] [stdout]    |
[INFO] [stdout] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stdout]    |                                                          ^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rusty_ants`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "de8116220cd65908adc119b505118d3668e848c8dcf3063fefbe35d652c5710c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "de8116220cd65908adc119b505118d3668e848c8dcf3063fefbe35d652c5710c", kill_on_drop: false }`
[INFO] [stdout] de8116220cd65908adc119b505118d3668e848c8dcf3063fefbe35d652c5710c
